package com.ruoyi.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.pojo.SchoolName;
import com.ruoyi.service.SchoolNameService;
import com.ruoyi.mapper.SchoolNameMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
* @author xlz
* @description 针对表【school_name】的数据库操作Service实现
* @createDate 2023-07-18 15:20:26
*/
@Service
public class SchoolNameServiceImpl extends ServiceImpl<SchoolNameMapper, SchoolName>
    implements SchoolNameService{

    @Autowired
    private SchoolNameMapper mapper;

    @Override
    public int addSchoolname(SchoolName schoolName) {
        return mapper.insert(schoolName);
    }
}




